using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Web;

namespace BadWeb
{
    public class HttpHeader
    {
        public string Key
        {
            get { return _key; }
            set
            {
                _key = value;
            }
        }

        public string Value
        {
            get {return _value; }
            set { _value = value; }
        }

        public HttpHeader()
        {

        }

        public HttpHeader(string key, string value)
        {
            if (string.IsNullOrEmpty(key))
            {
                throw new ArgumentException("Must supply key.");
            }

            if (string.IsNullOrEmpty(value))
            {
                throw new ArgumentException("Must supply value.");
            }

            _key = key;
            _value = value;
        }


        private string _key = string.Empty;

        private string _value = string.Empty;

        
    }
}
